package com.ht.medicaltreatment.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.ht.medicaltreatment.R
import com.ht.medicaltreatment.bean.Row2

class SampleBoxListAdapter : BaseQuickAdapter<Row2,BaseViewHolder>(R.layout.item_sample_box_layout){

    override fun convert(holder: BaseViewHolder, item: Row2) {
        holder.setText(R.id.tvName,item.name)
        holder.setText(R.id.tvLocation,item.sampleBoxStru.detailLocation)
    }

}
